#include "Painting.h"

Painting::Painting(Client* cli) : Entity(cli) {
	setLiving(false);
	setType(ENTITY_PAINTING);
	memset(title, 0, sizeof(title));
	dir = 0;
}

Painting::Painting(Client* cli, int _id) : Entity(cli, _id, ENTITY_PAINTING) {
	setLiving(false);
	memset(title, 0, sizeof(title));
	dir = 0;
}

void Painting::setTitle(const char* t){
	strncpy(title, t, 32);
}

void Painting::setDirection(int d){
	dir = d;
}
